package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 二级目录对象 q_menu2
 *
 * @author ruoyi
 * @date 2024-06-19
 */
public class QMenu2 extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 目录ID 关键字
     */
    private Long q2Id;
    /**
     * 父级ID
     */
    @Excel(name = "父级ID")
    private Long q2ParentId;
    /**
     * 内容
     */
    @Excel(name = "内容")
    private String q2SubContent;
    /**
     * 字体颜色
     */
    @Excel(name = "字体颜色")
    private String color;
    private String qContent;
    private Long qId;
    private Long q3Id;
    private Long q3ParentId;
    private String q3SubContent;


    public String getqContent() {
        return qContent;
    }

    public void setqContent(String qContent) {
        this.qContent = qContent;
    }

    public Long getqId() {
        return qId;
    }

    public void setqId(Long qId) {
        this.qId = qId;
    }

    public void setQ2Id(Long q2Id) {
        this.q2Id = q2Id;
    }

    public Long getQ2Id() {
        return q2Id;
    }

    public void setQ2ParentId(Long q2ParentId) {
        this.q2ParentId = q2ParentId;
    }

    public Long getQ2ParentId() {
        return q2ParentId;
    }

    public void setQ2SubContent(String q2SubContent) {
        this.q2SubContent = q2SubContent;
    }

    public String getQ2SubContent() {
        return q2SubContent;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public Long getQ3Id() {
        return q3Id;
    }

    public void setQ3Id(Long q3Id) {
        this.q3Id = q3Id;
    }

    public Long getQ3ParentId() {
        return q3ParentId;
    }

    public void setQ3ParentId(Long q3ParentId) {
        this.q3ParentId = q3ParentId;
    }

    public String getQ3SubContent() {
        return q3SubContent;
    }

    public void setQ3SubContent(String q3SubContent) {
        this.q3SubContent = q3SubContent;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("q2Id", getQ2Id())
                .append("q2ParentId", getQ2ParentId())
                .append("q2SubContent", getQ2SubContent())
                .append("color", getColor())
                .toString();
    }
}
